package com.patrol.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.patrol.pojo.FengxianExport;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

public interface FengxianExportDao extends BaseMapper<FengxianExport> {
    @Select("select * from fengxian_export where riqi like #{riqi}")
    FengxianExportDao selectById(String riqi);

    //清空指定表
    @Update("truncate table fengxian_export")
    void deleteUser();
}
